BDL: A Language to Control the Behavior of Concurrent Objects
نویسندگان
چکیده
Combining concurrency and object orientation is still difficult. In an approach where methods are concurrency units, one of the main difficulties is the control of the behavior of objects. Our proposal is BDL a language allowing to express and to achieve this control. We propose a model where each object includes a so called "execution controller" programmed with BDL. This introduces a conceptually clean separation between processing (method execution) and control. The controller ensures the respect of scheduling constraints between the executions of methods. Similarly the behavior of aggregate objects can be controlled. This language has a convenient formal base. Thus, using the expression of control, behavioral properties of an object, or even of a group of interesting objects can be verified. Our approach allows, for example, deadlock detection or verification of safety properties while the compiled object controller keeps a reasonable size. A compiler has been implemented allowing to automatically generate the controller code from a BDL program. This compilation is achieved by producing an Esterel (reactive programming language) code from a BDL program, the Esterel compiler giving the executable code. Inter-method concurrency is implemented using lightweight processes.
منابع مشابه
BDL: A Specialized Language for Per-Object Reactive Control
ÐThe problem of describing the concurrent behavior of objects in object-oriented languages is addressed. The approach taken is to let methods be the behavior units whose synchronization is controlled separate from their specification. Our proposal is a domain-specific language, called BDL, for expressing constraints on this control and actually implementing its enforcement. We propose a model w...
متن کاملBDL, A Language of Distributed Reactive Objects
We introduce the definition of a language of distributed reactive objects, a Behaviour Description Language (BDL), as a unified medium for specifying, verifying, compiling and validating object-oriented, distributed reactive systems. One of the novelties in BDL is its seamless integration into the Unified Modeling Language approach (UML). BDL supports a description of objects interaction which ...
متن کاملA Model for Objects Behavior
If object oriented programming languages offer a good support for modularity and encapsulation. Parallelism necessitate to integrate mechanisms of control. And particularly controls of temporal aspects have to be added. Concurrent object behavior may be complex. It expresses causality relationship between events, possible concurrent method activation, methods activation depending on the object ...
متن کاملMesoporous silica SBA-15 decreases hyperammonemia and affects the gene expression of mitogen-activated protein kinases in the prefrontal cortex of rats with bile duct ligation
Objective(s): We aim to examine possible ammonia lowering effects of mesoporous silica SBA-15 in rats after the common bile duct ligation (BDL). We also evaluate the effect of SBA-15 treatments during 28 days of BDL on locomotion and rearing behavior, as well as on the gene expression of Jnk3 and p38alpha (p38α) mitogen-activated protein kinases in the prefrontal corte...
متن کاملThe effect of curcumin on altered expression of BAX and BCL2 genes following cholestasis in the frontal region of male rats
Background: Cholestasis occurs as a result of malfunction or secretion of bile; and complications of this disease include apoptosis (planned death). Curcumin is an effective extract of turmeric rhizome that has anti-apoptosis properties. Thus in this study, we investigated the expression of BAX and BCL2 genes following cholestasis and curcumin in the frontal region of male rats. Materials and m...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1997